﻿using Prism.Mvvm;

namespace WheelClean2.Model
{
    /// <summary>
    /// 打标卡信息
    /// </summary>
    public class CardInfo : BindableBase
    {

        public int channelType;
        /// <summary>
        /// 打标卡连线模式.  1 PicMc3,2 PicIDsp,3 HpiUnknown,4 HpiIDsp,5 PpiMc7,6 UsbMc7,7 EtherMc7
        /// </summary>
        public int ChannelType
        {
            get { return channelType; }
            set { SetProperty(ref channelType, value); }
        }


        public bool locked;
        /// <summary>
        /// 打标卡是否被上锁
        /// </summary>
        public bool Locked
        {
            get { return locked; }
            set { SetProperty(ref locked, value); }
        }


        public string cardIp;
        /// <summary>
        /// 打标卡的网络 IP 位置
        /// </summary>
        public string CardIp
        {
            get { return cardIp; }
            set { SetProperty(ref cardIp, value); }
        }


        public string lockUnlockHostIp;
        /// <summary>
        ///打标卡被上锁/解锁的 HostIP 位置
        /// </summary>
        public string LockUnlockHostIp
        {
            get { return lockUnlockHostIp; }
            set { SetProperty(ref lockUnlockHostIp, value); }
        }


        public string cardId ;
        /// <summary>
        ///打标卡的唯一编号
        /// </summary>
        public string CardId
        {
            get { return cardId; }
            set { SetProperty(ref cardId, value); }
        }


    }
}
